package com.njtoyo.taxi.admin.service.local_service.merchant;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.njtoyo.taxi.admin.rest.presenter.local_service.merchant.LifeMerchantExaminePresenter;
import com.njtoyo.taxi.admin.rest.wrapper.local_service.merchant.examine.ExamineWrapper;
import com.njtoyo.taxi.admin.rest.wrapper.local_service.merchant.examine.LifeMerchantExamineWrapper;
import com.taxi.entity.common.RestResult;
import com.njtoyo.taxi.entity.backend.AdminUser;

public interface MerchantExamineService {

    /**
     * 商户审核列表
     *
     * @param adminUser
     * @param wrapper
     * @return
     */
    RestResult<Page<LifeMerchantExaminePresenter>> getExaminePage(AdminUser adminUser, LifeMerchantExamineWrapper wrapper);

    /**
     * 商户审核详情
     *
     * @param id
     * @return
     */
    RestResult<LifeMerchantExaminePresenter> details(Long id);

    /**
     * 商户审核
     *
     * @param id
     * @return
     */
    RestResult examine(Long id, ExamineWrapper wrapper);


}
